-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wii addon refactor and button/analog mapping support #501
Conversation
Added GHWT touch fret support. Added initial Wii extension hot plugging support. Fixed issue with detecting GHWT guitars. Fixed issue with guitar analog values.
…ion, default is used (implemented per-controller). Verifies calibration checksum to determine which is used.
…ice. Fixed issue where adjusted input values would overflow after calibration.
… calibration exists on device. Implemented default button mapping config in prep for web-config mapping options.
Included separation of Wii addon-specific L10n strings to Locales/en/Addons/WiiAddon.jsx
Updated documentation to remove Wii controller mapping details and add new image.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Small changes for styling but its a great refactor
// unknown | ||
} | ||
|
||
#if WII_EXTENSION_DEBUG==true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for cleanliness, we'll probably want to remove this before release if you're not using it. Okay to keep it into this refactor!
…I_EXTENSION_DEBUG
@@ -43,91 +47,280 @@ export const wiiState = { | |||
wiiExtensionSpeed: 400000, | |||
}; | |||
|
|||
const WII_EXTENSION_CONTROLS = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added ways for us to normalize formating, try running npm run format
Some have reported it not really working, but worth trying!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd have to go through this manually because it breaks up formatting in a way that isn't very easy on my eyes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you for updating things!!
This also includes support for mapping the following extension controllers: